package com.example.take_out_admin.exceptions;

import com.example.take_out_admin.exceptions.enumetation.ResponseEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class BusinessException extends RuntimeException{
    private ResponseEnum response;

    public BusinessException(ResponseEnum responseEnum) {
        this.response = responseEnum;
    }
}
